home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 425_01 / tar / tar.txt < prev    next >
Encoding:
Text File  |  1980-07-23  |  25.0 KB  |  659 lines

  1. 'tar' - is an acronym for 'tape archiver'
  2.  
  3. It is a tool to save files to archive media and restore them back
  4. again. Despite of its name, the program handles many media types,
  5. be it a floppy disk or regular file.
  6.  
  7. The program was initially written for UNIX operating system, but
  8. since many other OS support its format, tar became a useful tool
  9. for information exchange between different platforms.
  10.  
  11. This document describes yet another implementation of the program,
  12. which could be noted for portability between MS-DOS and UNIX
  13. clones, portability both in data format and source text level.
  14.  
  15.  
  16.         System requirements
  17.  
  18. Program will execute
  19.  - on any IBM PC compatible computer running MS-DOS 3.0 or
  20.    compatible OS;
  21.  - any generic UNIX clone.
  22.  
  23. Before running the program you will probably have to compile it,
  24. especially if you are a UNIX user. To do that you should have:
  25.  - any C compiler compatible with K&R or ANSI standard - for
  26.    UNIX version;
  27.  - Turbo C v2.0 under MS-DOS 3.30 - for DOS version.
  28.  
  29. Declaring such a wide portability shall probably have some
  30. restrictions, but, alas, I do not know about them.
  31.  
  32. The size of free memory required for program depends of the action
  33. selected. As a rule, about 64K bytes is enough to read/write
  34. archives without compression. If you are going to use compression
  35. options, the program can take all the megabytes available.
  36.  
  37. Anyway, the program will be able to process archive in a regular
  38. file (see below). It also supports floppy diskettes under MS-DOS.
  39. Media types available under UNIX is determined by device drivers
  40. available in the system.
  41.  
  42.  
  43.         Running the program
  44.  
  45. The program can be run simply from command line. You have to type
  46. to the system prompt a line with the following syntax:
  47.  
  48.         Tar <options> <args> <file> ...
  49.  
  50. where options define both action to perform and some additional
  51. options. You have to specify at least one option to define
  52. action, and command line must contain only one action option.
  53. Options can be preceded by '-' (minus) sign.
  54. Traditional command line syntax requires all the options to be
  55. typed in place, as a single command line argument. Some of the
  56. options require parameters, such as numerical value or a file
  57. name. Such parameters must follow the options, separated by
  58. spaces, exactly in the order of respective options.
  59.  
  60. The rest of the command line contains a list of files to extract
  61. from archive or to store. This file list can be omitted for
  62. extraction options, such as 't' or 'x', in this case the program
  63. will process all the files in archive; other options makes the
  64. list obligatory.
  65.  
  66. You may use wildcards '?' and '*' in file names both under DOS and
  67. UNIX. Note, however, that UNIX version can not process wildcards
  68. for files which are not in archive, this is done by command
  69. processor - e.g. shell - instead. Consult your manual for the
  70. details of wildcard processing.
  71.  
  72. Here follows the list of options along with their descriptions
  73. (unlike most other implementations this program is case
  74. insensitive, i.e., makes no difference between upper and lowercase
  75. letters):
  76.  
  77.  a - add (store) files to archive, the option is fully analogous
  78.      to traditional 'r' option, and was added to user convenience.
  79.      You have to specify the list of files to be stored.
  80.      Note, that normally files are appended to the end of archive,
  81.      so the archive can contain several files with the same name;
  82.      by default, the program will extract the latest version. Such
  83.      a behavior may be changed by 'c', 'd' and 'w' options.
  84.  
  85.  x - extract files from archive; program extracts specified files,
  86.      if no file name is given, the whole archive will be
  87.      extracted. If the directory name appears in command line, the
  88.      program extracts all of the files and subdirectories in a
  89.      given directory.
  90.  
  91.  t - type archive directory. The files to be processed are defined
  92.      as for the 'x' command.
  93.      The program outputs list of file names, unless 'v' modifier
  94.      is given. With 'v' option each file name is preceded by its
  95.      UNIX access rights mask, numeric user and group identifiers
  96.      and file length in bytes. Usage with 'e' or 'z' option forces
  97.      printing both compressed and original file lengths.
  98.  
  99.  d - the specified files will be deleted from archive; this option
  100.      is for file archives only.
  101.  
  102.  r - read files from disk to archive; the option is an alias for
  103.      'a', it is preserved for the compatibility reasons.
  104.  
  105.  c - the 'a' option implies that archive media contains an
  106.      existing tar archive, or archive file already exists. The 'c'
  107.      option creates a new archive or overwrites old one (if
  108.      any). This option also implies 'a' so you do not need to
  109.      specify it.
  110.  
  111.  y - delete files and directories after storing them into archive.
  112.      This option implies 'a'.
  113.  
  114.  u - update archive. Normally program stores all of the files
  115.      specified. Given option causes tar to store files only if
  116.      they are not present in archive or if the files were
  117.      modified.
  118.      This option implies 'a'.
  119.  
  120.  i - ignore read errors. This option may help (but may not) to
  121.      restore damaged archive.
  122.  
  123.  v - verbose. Normally program works silently; this option
  124.      forces printing of a log with most operations or produces
  125.      a lot of additional information with 't' option.
  126.  
  127.  w - the program will ask for your confirmation before processing
  128.      each file.
  129.  
  130.  e - apply a compression to archive files. The compression
  131.      algorithm has rather good compression ratio, but is
  132.      processor intensive. Besides, you won't be able to
  133.      restore the compressed file by standard 'tar' program - use
  134.      this option carefully.
  135.  
  136.  z - compress files in archive with traditional UNIX algorithm.
  137.      It is much faster than previous option, and it is compatible
  138.      with most Unix systems, so you can extract files with
  139.      'uncompress' or even 'tar' program alone, but this algorithm
  140.      has comparatively low compression ratio.
  141.      You may specify 'bits' factor typing it immediately after
  142.      z letter (e.g. z12); note, that this rule does not follow
  143.      regular command line syntax. See 'compress' program manual
  144.      to understand 'bits' factor meaning.
  145.  
  146.  , - (comma) this option is similar to 'z', but the whole archive
  147.      will be (de)compressed rather than individual files.
  148.  
  149.  . - (dot) this option is similar to ',' (comma) and allows to
  150.      read deflated archive in regular zip or GNU zip format or
  151.      create compressed archives in regular zip format. In the
  152.      latter case it's possible to specify compression level by
  153.      the single digit immediately after dot sign; legal values are
  154.      form 1 to 9 (the more compression level, the better
  155.      compression ratio will be).
  156.  
  157.  s - program will not process '?' and '*' wildcards in archive
  158.      file names.
  159.  
  160.  m - sets modification time of files to current time. By default
  161.      the program sets date and time of modification for extracted
  162.      files exactly as they have before they have been placed into
  163.      archive.
  164.  
  165.  o - option meaning depends on the host operating system, namely
  166.         under UNIX it means -
  167.      omit files owner. By default program tries to restore
  168.      original files owner and group. The option forces tar to set
  169.      the user who invokes tar as files owner, which is
  170.      especially useful when files are marked with zero owner,
  171.      i.e. root'.
  172.         under DOS respectively -
  173.      prevent files overwriting. Since UNIX file names are longer
  174.      than DOS, there is a chance that two or more UNIX files will
  175.      have same DOS names, so they couldn't co-exist onto DOS disk.
  176.      If the 'o' option given, the program will rename extracted
  177.      file if there is a file on the disk with the same name.
  178.      This option can also affect multivolume processing. Namely,
  179.      if two different UNIX files have same DOS names and second 
  180.      file is fragmented between volumes then extents of the second
  181.      file will be appended to first one. Alas, I see no solution
  182.      for this problem.
  183.  
  184.  l - option meaning depends on the host operating system, namely
  185.         under UNIX it means -
  186.      print list of files being archived, which have other links
  187.      besides those placed in archive.
  188.         under DOS respectively -
  189.      make copies of linked files to simulate UNIX links (otherwise
  190.      the program will extract first copy only and print warning
  191.      messages on the others).
  192.  
  193.  p - save in archives directories info (e.g. owner and
  194.      permissions) as well as files.
  195.  
  196.  n - no directory nesting. The program will not recurs into
  197.      subdirectories.
  198.  
  199.  / for UNIX or \ for DOS - omit left <back>slash in file names.
  200.  
  201.  : - omit MS-DOS drive name from file name.
  202.  
  203.  j - you will be prompted to add file comment while storing; this
  204.      comment will be shown by 't' option. Note, that used
  205.      implementation of this option is incompatible with P1003
  206.      standard, so I had to choose between either standard
  207.      or backward compatibility. In any case you'd better
  208.      avoid this option.
  209.  
  210.  f - this option requires an argument - a name of archive file or
  211.      special file.
  212.      By default, program tries to get a file name from 'TAPE'
  213.      environment variable. If no archive name is given, tar tries
  214.      to handle floppy disk under MS-DOS or to use /dev/mt0 under
  215.      UNIX.
  216.      File names are also used to support hardware devices, i.e.
  217.      floppy disks and streamers. See section 'Special files'
  218.      below.
  219.      You also can store default file name (without 'f' option
  220.      itself) into 'TAPE' environment variable - this is especially
  221.      useful with streamer devices.
  222.      The name consisting of single minus sign stands for standard
  223.      input/output. This is UNIX convention and it is better to
  224.      avoid this possibility under MS-DOS.
  225.  
  226.  k - this option requires an argument, diskette capacity in
  227.      Kbytes. Although the program tries to adjust appropriate
  228.      diskette type for a given hardware, you often will not be
  229.      able to read or write floppies without defining its type.
  230.      This option is not applicable in UNIX version.
  231.  
  232.  b - this option requires an argument, so called 'blocking
  233.      factor'. This program allows blocking factor in the range of
  234.      1 to 32. The sense of the option is rather tricky.
  235.      Big blocking factor allows to save much space on some tape
  236.      devices, but if you are going to transfer data between
  237.      different computers I strongly recommend not to use blocking
  238.      factor more than 16. Note, that original tar does not allow
  239.      values more than 20.
  240.      In general this option does not influence the resulting
  241.      archive with floppy devices or regular files, but appropriate
  242.      value can drastically increase tar speed.
  243.      As a rule, this program adjust the most appropriate blocking
  244.      factor, so you do not need to use this option, but it is also
  245.      possible that you will not be able to restore files without
  246.      setting properly the value for a given archive.
  247.  
  248.  [0-9] single digit stands for the number of storage device;
  249.      e.g. 1 means MS-DOS drive B:
  250.  
  251.  @ - this option requires an argument - a name of file, containing
  252.      the continuation of a command line. This option allows tar to
  253.      read a list of file specification from a separate file. As
  254.      above, a file name consisting of single minus means standard
  255.      input. The size of input defined by this option must not
  256.      exceed 32760 bytes.
  257.  
  258.  
  259.         Special files
  260.  
  261. Special files (also called 'device drivers') are widely used in
  262. UNIX to interact with hardware devices. There are no useful
  263. special files under MS-DOS (oh, of course you can create an
  264. archive at 'nul', it will go to the neverland), but DOS version
  265. supports its own internal special file names, which are divided
  266. into two groups.
  267.  
  268. The following file names designate floppy devices:
  269.    fd048ss8, fd048ds8, fd135ds9, fd048ss9, fd048ds9, fd135ds18,
  270.    fd096ds9, fd096ds15, rainbow
  271. Such a "file name" consists of the following components:
  272.  - device type, e.g 'fd';
  273.  - floppy radial density, e.g. 048, 096 or 135 tracks per inch;
  274.    first two relate to 5.25" floppies, the last is for 3.5" disks;
  275.  - number of working surfaces: ss means 'single side' while
  276.    ds - 'double side';
  277.  - the last value is a number of sectors per track.
  278. Note, that usually you do not need to use this mechanism, it could
  279. be better to set 'k' option instead.
  280.  
  281. The last name, "rainbow", is for disks in DEC Rainbow format; it
  282. has no equivalent options. For better hardware compatibility it is
  283. recommended to format such disks on the PC they will be read or
  284. written. There exists a couple of PC programs, which allow such
  285. formatting.
  286.  
  287. The second group of special file names refers to QIC-02 streamer
  288. tape devices. Be aware that you have QIC-02 device, since the
  289. program does not support for example SCSI or QIC-40/80 devices.
  290.  
  291. Since streamers have no standard software interface like BIOS it's
  292. necessary to mention device hardware configuration in a command
  293. line (or 'TAPE' environment variable - see above).
  294. So, streamer 'file name' have a complex syntax, it includes
  295.  - device name itself, followed by
  296.  - separator - colon or semicolon - and
  297.  - parameter list.
  298.  
  299. The parameter list consists of parameter groups separated by
  300. commas, semicolons or dots (there is no difference).
  301.  
  302. Each parameter group (save 'norewind parameter - see below)
  303. in turn consists of keyword followed by assignment (:=) and some
  304. value.
  305.  
  306. The program recognizes three device names:
  307.         Archive, Everex and Wangtek
  308. Each name means device clone name and corresponds to plenty of
  309. device brands. Most of existing QIC-02 streamers belongs to one of
  310. the above three types.  The names of the clones are borrowed from
  311. the trademarks of their respective manufacturers but keep in mind
  312. that there is no strict rule (e.g. Archive corporation produced
  313. streamers that fits to Everex clone). Usually you have test you
  314. streamer with different device names to select appropriate one.
  315.  
  316. Parameter list may include the following options (most of them
  317. concerns to hardware, so consult you streamer documentation):
  318. base:=<sexadecimal value> - IO base address,
  319.      this is the only obligatory parameter;
  320. dma:=<octal digit> - DMA channel number;
  321.      there is a rumor about devices without DMA, but I have not
  322.      seen one, so usually you have to use this option;
  323. irq:=<decimal number from 0 to 15> - interrupt request number;
  324.      as a rule you do not need to use this option, but it may or
  325.      may not solve hardware problems, such as
  326.      - another device uses same interrupt request number,
  327.      - your system BIOS has no default handler for hardware
  328.        interrupts;
  329. qic:=<QIC standard number> - defines tape format/capacity,
  330.      valid QIC numbers are 11, 24, 120, 150, 300, 600, 2100
  331.      and 2200;
  332.      first four formats may also be specified by corresponding
  333.      number of tracks as
  334. tracks:=<decimal number>
  335.      Note, that most streamer devices can not support all this
  336.      formats; since the program can not detect formats supported
  337.      you should yourself care of proper tape format. Fortunately
  338.      most streamers detect format of existing data or set its
  339.      default format for writing, so as a rule you do not need in
  340.      this option at all.
  341. norewind - this is the only keyword which does not require
  342.      corresponding value. The option is supplied to maintain
  343.      several archives on a single tape. (Note that QIC-02 standard
  344.      does not allow to add files into existing tar archives. This
  345.      program includes an option to do that, but it is possible
  346.      that hardware disables it. You do allowed to handle several
  347.      archives on a tape, but keep in mind that it is not allowed
  348.      by some UNIX systems).
  349.  
  350. Unlike device name, parameters may be shortened, it is possible to
  351. mention as many (few) letters from keyword as you like or omit any
  352. part - ':' or '=' - of the assignment sign or both of them (see
  353. example below).
  354.  
  355. The only blocking factor allowed by all QIC-02 devices is 1 - and
  356. it is default value for streamer tape in this program. Unlike many
  357. other implementations which fragments large logical block into
  358. small physical pieces, you are allowed to change the physical
  359. block size, but I have no idea about results.
  360.  
  361. GENERIC WARNING: I made all possible efforts to provide robust
  362. hardware interface, but I have no means to make it 100% reliable.
  363. So BEFORE storying any useful information, please check that data
  364. written by this program can be read afterwards.
  365.  
  366.  
  367.         Examples
  368.  
  369. List file names in archive anyfile.tar:
  370.         Tar tf anyfile.tar
  371.  
  372. Print verbosely directory of 1.2M floppy in drive B:
  373.         Tar tv1k 1200
  374.  
  375. Store all files from given list to tape, as dense as possible:
  376.         Tar cvebf@ 32 /dev/tape listfile.s
  377.  
  378. Extract all files from streamer cartridge (in DOS), hardware
  379. chosen as IO base address 300h, DMA channel 1 and QIC-24 tape
  380. format:
  381.         Tar xvf archive:b300,dma:=1,t:9
  382.  
  383.  
  384.         Compiling the program
  385.  
  386.         Before doing this, you need to have a properly
  387. installed C compiler.
  388.         Place program sources into separate directory, then
  389.  - type !compile at the DOS prompt to build DOS version.
  390.  - issue make command to build UNIX version.
  391.  
  392. Note: if you work under ISC UNIX or another System V, you should
  393.       try 'make -f makefile.ix' command to decrease size of the
  394.       executable file.
  395.  
  396.  
  397.       Diagnostics
  398.  
  399. Can only handle XX bits. Continue?
  400.         Not enough RAM to perform un/compression with desired
  401.         bits factor (either default or specified). You will be
  402.         prompted to continue with maximum possible bits factor.
  403.  
  404. Diskette capacity XXXK assigned
  405.         Since you have not specified diskette capacity, the
  406.         program informs you about its choice.
  407.  
  408. Extract anyway?
  409.         Archive file can not be uncompressed due to some reason
  410.         and you are prompted to extract its compressed image.
  411.  
  412. File compressed with XX bits, can only handle XX bits.
  413.         Archive file can not be uncompressed for the current bits
  414.         factor is less than the factor during compression.
  415.  
  416. File is not in compressed format
  417.         Although archive has '.Z' suffix, its structure does not
  418.         match compressed one. Thus, the file can not be
  419.         uncompressed and you will be prompted to extract it as is.
  420.  
  421. No memory for encoding. Continue?
  422.         Files can not be packed due to lack of free memory. You
  423.         are prompted to store them unpacked.
  424.  
  425. Tar: XXX blocks skipped to find header
  426.         Archive corrupted, skipped blocks possibly contains lost
  427.         information.
  428.  
  429. Tar: '...' checksum error
  430.         Checksum algorithm fails while unpacking the file.
  431.  
  432. Tar: '...' decode error
  433.         Internal compressor error.
  434.  
  435. Tar: '...' decreased size
  436.         File decreased size while the program stored it.
  437.  
  438. Tar: '...' exceeds limit in size
  439.         Input for '@' option exceeds 32760 bytes in size.
  440.  
  441. Tar: '...' name too long
  442.         The name of file in archive must not exceed 100
  443.         characters.
  444.  
  445. Tar: '...' not a file
  446.         Current version allows to store in archive regular files
  447.         only.
  448.  
  449. Tar: '...' seek error
  450.         Error processing file.
  451.  
  452. Tar: 'm' and 'u' options ambiguous
  453.         Do you really want both this options?
  454.  
  455. Tar: archive unchanged
  456.         There was no job for 'u' or 'd' options.
  457.  
  458. Tar: bad blocksize (max is 32)
  459.         The program allows block factor in the range of 1 to 32.
  460.  
  461. Tar: bad directory structure
  462.         Archive is corrupted (file header error).
  463.  
  464. Tar: bad option '.'
  465.         Invalid character in option string.
  466.  
  467. Tar: base address must be specified
  468.         Error in streamer parameters (DOS only).
  469.  
  470. Tar: blocksize = XX
  471.         Since you have not specified block factor, the program
  472.         informs you about its choice.
  473.  
  474. Tar: blocksize multiply defined
  475.         You have specified block factor more than once.
  476.  
  477. Tar: can't access '...'
  478.         Error processing file.
  479.  
  480. Tar: can't create '...'
  481.         Error processing file, probably the file system at your
  482.         computer is full.
  483.  
  484. Tar: can't create directory '...'
  485.         Error processing file, probably the file system at your
  486.         computer is full.
  487.  
  488. Tar: can't create scratch file
  489.         Error processing file, probably the file system at your
  490.         computer is full.
  491.  
  492. Tar: can't delete '...'
  493.         Error processing file.
  494.  
  495. Tar: can't delete scratch file
  496.         Error processing file, this usually does not mean tar lost
  497.         some data, but it indicates some filesystem problem.
  498.  
  499. Tar: can't find '...'
  500.         No file matches given wildcard specification (DOS only).
  501.  
  502. Tar: can't handle '...'
  503.         Error processing file.
  504.  
  505. Tar: can't link '...' - data stay in '...'
  506.         The program can not restore links properly (UNIX only).
  507.  
  508. Tar: can't link '...'
  509.         The program can not restore links properly (UNIX only).
  510.  
  511. Tar: can't open '...'
  512.         Probably the file given does not exist or access denied.
  513.  
  514. Tar: can't open directory '...'
  515.         Error processing directory, probably access denied.
  516.  
  517. Tar: can't open file '...'
  518.         Probably the file given does not exist or access denied.
  519.  
  520. Tar: can't process '...'
  521.         Error processing file.
  522.  
  523. Tar: can't read '...'
  524.         Error processing file.
  525.  
  526. Tar: can't remove '...'
  527.         The directory mentioned can not be deleted.
  528.  
  529. Tar: can't rename '...' to '...'
  530.         Error performing 'd' option, archive stayed unchanged.
  531.  
  532. Tar: can't update stdout
  533.         You may not apply given option to standard output.
  534.  
  535. Tar: delete option is for file archives only
  536.  
  537. Tar: device parameter error
  538.         Error in streamer parameters (DOS only).
  539.  
  540. Tar: directory checksum error
  541.         Archive is corrupted (file header error).
  542.  
  543. Tar: diskette error: ...
  544.         Probably the diskette is corrupted.
  545.  
  546. Tar: drive not present
  547.         You have specified diskette drive which does not exist
  548.         (DOS only).
  549.  
  550. Tar: error extracting '...'
  551.         Error processing file. Possible reason: there is no space
  552.         left on the hard disk.
  553.  
  554. Tar: error processing '...'
  555.         Error processing file.
  556.  
  557. Tar: error reading '...'
  558.         Error processing file.
  559.  
  560. Tar: error shrinking memory block
  561.         Internal runtime error.
  562.  
  563. Tar: fault run mkdir!
  564.         The 'mkdir' command was not found in /bin, /usr/bin and
  565.         /etc directories (UNIX only).
  566.  
  567. Tar: fault run rmdir!
  568.         The 'rmdir' command was not found in /bin, /usr/bin and
  569.         /etc directories (UNIX only).
  570.  
  571. Tar: incompatible options
  572.  
  573. Tar: input must be free
  574.         It is not allowed to use standard input with 'f' option
  575.         and any of 'w' or 'j' options.
  576.  
  577. Tar: insert NEXT diskette and press ENTER when ready...
  578.         You are prompted to continue multivolume archive
  579.         processing.
  580.  
  581. Tar: invalid base address
  582.         Error in streamer parameters (DOS only).
  583.  
  584. Tar: invalid bits factor
  585.         The bits factor must be in range of 12 to 16.
  586.  
  587. Tar: invalid character after 'X'
  588.         Error in streamer parameters (DOS only).
  589.  
  590. Tar: invalid diskette size
  591.         Allowed arguments for 'k' option are: 160, 180, 320, 360,
  592.         720, 1200, 1440 (DOS only).
  593.  
  594. Tar: invalid DMA channel number
  595. Tar: invalid IRQ number
  596. Tar: invalid number of tracks
  597. Tar: invalid QIC number
  598.         Error in streamer parameters (DOS only).
  599.  
  600. Tar: missed XX link(s) to '...'
  601.         The file has multiple links and given number of them were
  602.         not stored in the archive; you will not see this message
  603.         unless 'l' option is given (UNIX only).
  604.  
  605. Tar: no files specified
  606.  
  607. Tar: no memory to unpack.
  608.         You will be prompted to extract packed image.
  609.  
  610. Tar: not enough memory to uncompress
  611.         You will be prompted to extract compressed file.
  612.  
  613. Tar: not enough memory
  614.  
  615. Tar: nothing to do
  616.         You have to specify either 'a', 'x', 't' or 'd' option.
  617.  
  618. Tar: out of memory; link(s) lost
  619.         Not enough memory to keep list of links, links will be
  620.         stored in archive as a separate files (UNIX only).
  621.  
  622. Tar: tape blocksize error
  623.         Error processing archive.
  624.  
  625. Tar: tape close error
  626.         Error processing archive.
  627.  
  628. Tar: tape device multiply defined
  629.         You have specified ambiguous options.
  630.  
  631. Tar: tape read error
  632.         Error processing archive.
  633.  
  634. Tar: tape seek fault
  635.         Error processing archive.
  636.  
  637. Tar: tape write error
  638.         Error processing archive. Possible reason: there is no
  639.         space for archive file on hard disk.
  640.  
  641. Tar: unknown parameter '...'
  642.         Error in streamer parameters (DOS only).
  643.  
  644. Tar: unsupported hardware configuration
  645.         That is (DOS only).
  646.  
  647. Tar: warning: bad sector XXX, skipped
  648.         The sector has physical defects, tar has skipped it.
  649.         Note: you will not be able to read such a diskette on
  650.         another computer (DOS only).
  651.  
  652. Tar: warning: can't open terminal device, may be problems
  653.         Standard input is used for 'f' or '@' option and the
  654.         program can not open terminal device
  655.         (/dev/tty - UNIX only).
  656.  
  657. Tar: warning: renamed to '...'
  658.         UNIX file name was changed according to DOS rules.
  659.